package com.fyzk.activity.prize;

public class InquiryInfo {

    @Override
    public boolean equals(Object o) {
        if (null == o)
            return false;
        if (getClass() != o.getClass())
            return false;
        if (this == o)
            return true;
        InquiryInfo info = (InquiryInfo) o;
		return info.lotteryType == this.lotteryType;
	}

    @Override
    public int hashCode() {
        return String.valueOf(lotteryType).hashCode();
    }

    public InquiryInfo() {
    }

    public InquiryInfo(int lotteryID, String lotteryName, String lotteryNum,
                       String logourl, String period, String lotteryDate) {
        this.logourl = logourl;
        this.drawTime = lotteryDate;
        this.lotteryType = lotteryID;
        this.lotteryName = lotteryName;
        this.wincode = lotteryNum;
        this.phase = period;
    }

    /**
     * 彩票编号
     */
    public int lotteryType;
    /**
     * 彩票名称
     */
    public String lotteryName = "";
    /**
     * 开奖号码
     */
    public String wincode = "";
    /**
     * 彩票图片
     */
    public String logourl = "";
    /**
     * 期数
     */
    public String phase = "";
    /**
     * 开奖日期
     */
    public String drawTime = "";

//	"lotteryType":1001, "phase":"2016097", "wincode":"06,13,25,26,28,31|01",
// "drawTime":
//                "2016-08-21"

}